package com.room.search.service.dto.city;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/**
 * By   : ghd.bright
 * Time : 2022/1/17
 * Description: 热门城市DTO
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class HotCityDTO implements Serializable {

    @JsonProperty("adm1")
    private String adm1;

    @JsonProperty("adm2")
    private String adm2;

    public String getAdm2() {
        return adm2;
    }

    public void setAdm2(String adm2) {
        this.adm2 = adm2;
    }

    public String getAdm1() {

        return adm1;
    }

    public void setAdm1(String adm1) {
        this.adm1 = adm1;
    }

    @Override
    public String toString() {
        return "HotCityDTO{" +
            "adm2='" + adm2 + '\'' +
            '}';
    }
}
